#indent#var FormSubmit=false;
function #selstart#CheckSubmit#selend#(){
  if (FormSubmit){
    alert ('This form has already been submitted, you cannot push the button more than once!');
    forms['budget'].-update.value="Do NOT SUBMIT AGAIN";
    forms['budget'].reset();
  }
  else{FormSubmit=true;forms['budget'].-update.value="Form Sent";}
}

goes in form tag:
onClick="CheckSubmit();"
